{% extends "layouts/baseview.html" %}
{% load i18n %}
{% load short_uri %}

{%block title%}{{project.name}} - {{path}}{%endblock%}


{% block stylesheet %}
	<link rel="stylesheet" href="/css/code-min.css" />
{% endblock %}

{%block main-block%}
<p>
    <strong><a href="{{project|url}}src/">{{project.name}}</a></strong>
    <span>/</span>
  {%for p in paths%}
  
  <strong><a class="filename" href="{{project|url}}src/{{p.url}}/">{{p.path}}</a></strong>
  <span>/</span>
  {%endfor%}    
</p>

<h4><a href="{{project|url}}logs{{path}}">{%trans "Revision"%}</a> r{{rev}}</h4>
<p>{%trans "Added by"%} <a href="/u/{{author}}/">{{author}}</a> <em>{{mtime|utc2loc}}</em></p>
<p>
  <div class="pretext">
    {{msg|linebreaks}}
  </div>
</p>
{%for p in cfiles%}
<div>
  <span><strong>{{p.action}}</strong></span>
  <span><a class="filename" href="{{project|url}}diff/{{rev}}{{p.name}}">{{p.name}}</a></span>
</div>
{%endfor%}
{%if content%}
<p>
  <pre class="hl">
    {{content|safe}}
  </pre>
<p>
{%endif%}
{%endblock%}
